package com.honghe.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.honghe.common.annotation.Excel;
import com.honghe.common.core.domain.BaseEntity;

/**
 * 补卡申请对象 sys_attendance_reapply
 * 
 * @author honghe
 */
public class SysAttendanceReapply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 补卡ID */
    private Long reapplyId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String userName;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String deptName;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 补卡日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "补卡日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date attendanceDate;

    /** 补卡类型（in签到,out签退） */
    @Excel(name = "补卡类型", readConverterExp = "i=n签到,o=ut签退")
    private String reapplyType;

    /** 补卡时间 */
    @JsonFormat(pattern = "HH:mm:ss")
    @Excel(name = "补卡时间", width = 30, dateFormat = "HH:mm:ss")
    private String reapplyTime;

    /** 补卡地点 */
    @Excel(name = "补卡地点")
    private String reapplyLocation;

    /** 补卡原因 */
    @Excel(name = "补卡原因")
    private String reason;

    /** 审批状态（0待审批 1已通过 2已驳回） */
    @Excel(name = "审批状态", readConverterExp = "0=待审批,1=已通过,2=已驳回")
    private String status;

    /** 审批人 */
    @Excel(name = "审批人")
    private String approver;

    /** 审批时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "审批时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date approveTime;

    /** 审批意见 */
    @Excel(name = "审批意见")
    private String approveComment;

    public void setReapplyId(Long reapplyId) 
    {
        this.reapplyId = reapplyId;
    }

    public Long getReapplyId() 
    {
        return reapplyId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setDeptName(String deptName) 
    {
        this.deptName = deptName;
    }

    public String getDeptName() 
    {
        return deptName;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setAttendanceDate(Date attendanceDate) 
    {
        this.attendanceDate = attendanceDate;
    }

    public Date getAttendanceDate() 
    {
        return attendanceDate;
    }
    public void setReapplyType(String reapplyType) 
    {
        this.reapplyType = reapplyType;
    }

    public String getReapplyType() 
    {
        return reapplyType;
    }
    public void setReapplyTime(String reapplyTime) 
    {
        this.reapplyTime = reapplyTime;
    }

    public String getReapplyTime() 
    {
        return reapplyTime;
    }
    public void setReapplyLocation(String reapplyLocation) 
    {
        this.reapplyLocation = reapplyLocation;
    }

    public String getReapplyLocation() 
    {
        return reapplyLocation;
    }
    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setApprover(String approver) 
    {
        this.approver = approver;
    }

    public String getApprover() 
    {
        return approver;
    }
    public void setApproveTime(Date approveTime) 
    {
        this.approveTime = approveTime;
    }

    public Date getApproveTime() 
    {
        return approveTime;
    }
    public void setApproveComment(String approveComment) 
    {
        this.approveComment = approveComment;
    }

    public String getApproveComment() 
    {
        return approveComment;
    }
} 